package s01;

/**
 * @ClassName Weapon
 * @Description 定义武器类，将增加攻击能力
 * @Author Li
 * @Date 2022/8/2 11:11
 * @ModifyDate 2022/8/2 11:11
 * @Version 1.0
 */
public class Weapon {
    private String name; // 武器名称
    private int hurt; // 伤害值

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getHurt() {
        return hurt;
    }

    public void setHurt(int hurt) {
        this.hurt = hurt;
    }
}
